package com.gitee.wsl.common.ui.draw.node

import androidx.compose.ui.graphics.drawscope.DrawScope

class ElementNode():Node() {
    var nodes: List<Node> = emptyList()
        set(value) {
            field = value
            invalidate()
        }

    override fun DrawScope.draw() {
        nodes.forEach {node->
          node.apply {
              draw()
          }
        }
    }

}

